.class Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$6;
.super Ljava/lang/Thread;
.source "SideNavigationFragment.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->onColorChanged(Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

.field final synthetic val$event:Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;)V
    .registers 3
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    .prologue
    .line 676
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$6;->this$0:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    iput-object p2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$6;->val$event:Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 4

    .prologue
    .line 679
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$6;->this$0:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/zuiapps/suite/utils/db/SharePrefHelper;->getInstance(Landroid/content/Context;)Lcom/zuiapps/suite/utils/db/SharePrefHelper;

    move-result-object v0

    const-string v1, "CurrentBgColor"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$6;->val$event:Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;

    invoke-virtual {v2}, Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;->getColor()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/zuiapps/suite/utils/db/SharePrefHelper;->setPref(Ljava/lang/String;I)V

    .line 680
    return-void
.end method
